package com.ems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ems.vo.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 摄像头
 * </p>
 * @author WuZH
 * @since 2023-11-08
 */
@Data
@TableName ("camera_info")
@ApiModel (value = "CameraEntity对象", description = "摄像头")
public class CameraEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("相机名称")
    @TableField ("cameraName")
    private String cameraName;

    @ApiModelProperty ("摄像头型号")
    @TableField ("cameraModel")
    private String cameraModel;

    @ApiModelProperty ("相机IP")
    @TableField ("cameraIp")
    private String cameraIp;

    @ApiModelProperty ("摄像机端口")
    @TableField ("cameraPort")
    private Integer cameraPort;

    @ApiModelProperty ("摄像头编码，唯一识别号")
    @TableField ("cameraCode")
    private String cameraCode;

    @ApiModelProperty ("摄像头用户名")
    @TableField ("cameraUser")
    private String cameraUser;

    @ApiModelProperty ("摄像头密码")
    @TableField ("cameraPassword")
    private String cameraPassword;

    @ApiModelProperty ("摄像头安装位置")
    @TableField ("installAddress")
    private String installAddress;

    @ApiModelProperty ("所属电站")
    @TableField ("stationId")
    private String stationId;

    @TableField ("createTime")
    private Date createTime;

    @TableField ("isUsed")
    private Integer isUsed;


}
